<table>

<h1>Market info for <%= @prices.first.item.name %>:</h1>
<br><br>
Median Price: <%= Price.median(@prices.first.item_id) %>
<br>

    <tr>
    <th><b>Region</b></th>
    <th><b>Station</b></th>
    <th><b>Price</b></th>
    <th><b>Volume</b></th>
    <th><b>Issued</b></th>
    </tr>
<%= render :partial => "market", :collection => @prices %>




